package com.project.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.demo.entity.UserFile;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface UserFileService {
    Map<String, Object> add(MultipartFile file,String secretKey);

    IPage<UserFile> pageList(UserFile userFile);

    void download(HttpServletRequest request, HttpServletResponse response,String filePath,String fileName,String publicKey,String secretKey);
}
